Developer Documentation

QuickTime 4 API Documentation

Wired Movies and Sprites

| Previous | Chapter Contents | Chapter Top |

SpriteDescription Structure

Sprite samples may be compressed using a data compression codec.

struct SpriteDescription {
    long        descSize;       /* total size of
                            SpriteDescription including extra data */
    long        dataFormat;     /* */
    long        resvd1;         /* reserved for apple use */
    short       resvd2;
    short       dataRefIndex;
    long        version;            /* which version is this data */
    OSType      decompressorType;   /* which decompressor to use, 0 for
                                    no decompression */
    long        sampleFlags;        /* how to interpret samples */
};
typedef struct SpriteDescription        SpriteDescription;
typedef SpriteDescription *             SpriteDescriptionPtr;
typedef SpriteDescriptionPtr *          SpriteDescriptionHandle;

decompressorType
This field in the SpriteDescription sample description structure allows a data decompressor component type to be specified. If this field is nonzero, a component of the specified type is used to decompress the sprite sample when it is loaded.

 


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top |